package com.dshore.messagecenter.model.technology;
/**
 * 常量类
 * @author deng
 *
 */
public class Constant {
	/**
	 * 短信验证超时时间 分钟
	 */
	public static final int SMSCODE_TIME_OUT = 2;

	/**
	 * 短信验证码最大容量
	 */
	public static int SMS_CODE_MAX = 99999;

	/**
	 * 验证码错误次数
	 */
	public static int SMSCODE_ERR_COUNT = 3;



	public enum OrderStatus {
		WEI_PAI_CHE("0", "未派车"),
		YI_QU_XIAO("-1","已取消"),
		YI_PAI_CHE("1","已派车"),
		PAI_CHE_ZHONG("2","派车中");
		
		private String status;
		private String statusName;

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

		private OrderStatus(String status, String statusName) {
			this.status = status;
			this.statusName = statusName;
		}
	}
	
	public enum WaybillStatus {
		CAO_GAO("0", "草稿"),
		YI_QU_XIAO("-1","已取消"),
		DAI_FA_CHE("1","待发车"),
		YUN_SHU_ZHONG("2","运输中"),
		YI_DAO_DA("3","已到达"),
		YI_WAN_CHENG("4","已完成");
		
		private String status;
		private String statusName;

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

		private WaybillStatus(String status, String statusName) {
			this.status = status;
			this.statusName = statusName;
		}
	}
	
	public enum WaybillPayStatus {
		DAI_FA_CHE_ZHI_FU("0", "待发车支付"),
		YI_WAN_CHENG_FA_CHE_ZHI_FU("1","已完成发车支付"),
		YI_WAN_CHENG_DAO_DA_ZHI_FU("2","已完成到达支付"),
		YI_WAN_CHENG_WEI_KUAN_ZHI_FU("3","已完成尾款支付"),
		YI_WAN_CHENG("4","已完成"),
		FA_CHE_ZHI_FU_DAI_SHEN_HE("5","发车支付待审核"),
		DAO_DA_ZHI_FU_DAI_SHEN_HE("6","到达支付待审核"),
		WEI_KUAN_ZHI_FU_DAI_SHEN_HE("7","尾款支付待审核");
		
		private String status;
		private String statusName;

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

		private WaybillPayStatus(String status, String statusName) {
			this.status = status;
			this.statusName = statusName;
		}
	}
}
